package com.dsh.storeManagement.dao;

import com.dsh.storeManagement.entity.vo.*;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AdminFranchiseLevelDao {
   List<AdminFranchiseLevelVo> selectDiscount();

   int updateDiscount(@Param("updateDiscountVo") UpdateDiscountVo updateDiscountVo);

   int insertDiscount(@Param("discountVo") DiscountVo discountVo);

   int insertFranchise(FranchiseLevelVo franchiseLevelVo);

   /**
    * 根据机构id查询
    *
    * @param sId
    * @return
    */

   /**
    * 通过主键删除数据
    *
    * @param id 主键
    * @return 影响行数
    */
}
